package profile

import "fmt"

type Profile struct {
	Name   string
	Age    int
	Gender string
	Mother *Profile
	Father *Profile
}

func (person Profile) FmtProfile() {
	fmt.Printf("名字：%s\n", person.Name)
	fmt.Printf("年龄：%d\n", person.Age)
	fmt.Printf("性别：%s\n", person.Gender)
}

func (person *Profile) IncreaseAge() {
	person.Age++
}
